//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
#if DEBUG
    public
#else
    internal
#endif
        
        abstract class WorksheetLevelRecord : BiffRecord, IWorksheetLevelRecord
    {
        #region IWorksheetLevelRecord Members
        void IWorksheetLevelRecord.Apply(BiffReaderWorksheetContext context)
        {
            Apply(context);
        }

        internal abstract void Apply(BiffReaderWorksheetContext context);

        #endregion

        internal abstract override void WriteContent(BiffWriterWorkbookContext context);

        protected abstract override void ReadContent(BiffReaderContext context, int length);
    }
}